package com.akk.platform.manage.business;

import com.akk.module.user.entity.UserAgent;
import com.akk.module.user.service.UserAgentService;
import com.akk.utils.RestResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AgentBusiness {
    @Autowired
    UserAgentService userAgentService;
    public RestResponse userAgentList(String appId) {
        List<UserAgent> userAgents= userAgentService.findByAppId(appId);
        return RestResponse.build(userAgents);
    }
}
